package cn.schoolwow.quickdao.test.module.business.user.dql.general.testcase;

import cn.schoolwow.quickdao.test.module.business.user.dql.general.flow.GroupDepartmentProcessFlow;
import cn.schoolwow.quickdao.test.module.business.user.dql.general.flow.InitialDepartmentFlow;
import cn.schoolwow.quickflow.domain.FlowContext;
import cn.schoolwow.quickflow.flow.BusinessFlow;

public class DepartmentGroupTestCaseFlow implements BusinessFlow {
    @Override
    public void executeBusinessFlow(FlowContext flowContext) throws Exception {
        flowContext.startFlow(new InitialDepartmentFlow())
                .next(new GroupDepartmentProcessFlow())
                .execute();
    }

    @Override
    public String name() {
        return "分组查询部门个数测试用例";
    }
}
